package com.model;

import lombok.*;

/**
 * @PackageName:com.model
 * @ClassName:Student
 * @Description:
 * @author:zhangzhanheng
 * @date: 2020/12/24 18:43
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Student implements Cloneable {
    private String nameStudents;
    private Integer ageStudents;
    private study study;
    private int[] i;
    private String[] s;
    private int score;

    public Student (String name,Integer age) {
        this.nameStudents = name;
        this.ageStudents = age;
    }


    @Override
    public Object clone() throws CloneNotSupportedException {
        //浅拷贝
        return super.clone();
    }

}
